package com.chuan.it_market.service.impl;

import com.chuan.it_market.dao.GoodsTypeDao;
import com.chuan.it_market.pojo.entity.GoodsType;
import com.chuan.it_market.service.TypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TypeServiceImpl implements TypeService {

    @Resource
    GoodsTypeDao goodsTypeDao;
    @Override
    public List<GoodsType> selectAllType() {
        return goodsTypeDao.selectAllType();
    }
}
